package com.zwps.biz.api.enums;

import com.zwps.common.tool.enums.InterfaceEnum;

import lombok.Getter;

@Getter
public enum UserSexEnum implements InterfaceEnum<Integer> {

    UNKNOWN(0, "未知"), man(1, "男"), woman(2, "女");

    private Integer code;

    private String name;

    private UserSexEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getTypeName() {
        return "性别";
    }

}
